@echo off

setlocal
set BASE_DIR=%~dp0
if exist "E:\tmp.bat" (
	del /Q E:\tmp.bat
)
python %BASE_DIR%/m.py %1

:: echo "输入参数：%*"
:: 定义要检查的文件路径
set file_to_check=E:\tmp.bat
:: 检查是否有参数传递
if not "%~1"=="" (
    if exist "%file_to_check%" (
        :: 文件存在，运行该文件
		call "%file_to_check%" %2
    ) else (
        :: echo "%file_to_check%"不存在
		set t = 1
    )
)

endlocal